<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:71:"C:\web\newxiangxin\public/../application/admin\view\member\account.html";i:1533291377;s:60:"C:\web\newxiangxin\application\admin\view\Public\public.html";i:1532686600;}*/ ?>
﻿<!DOCTYPE html>
<html>
<head>
<title>会员列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="/static/admin/mo/style/adminStyle.css" rel="stylesheet" type="text/css" />
<script src="/static/admin/mo/js/jquery.js"></script>
<script src="/static/admin/mo/js/public.js"></script>

</head>
<body>
 <div class="wrap">
  <div class="page-title">
    <span class="modular fl"><i class="account_user"></i><em>会员列表</em></span>
    <span class="modular fr"><a href="/adminmember/account_details/id/<?php echo $member['id']; ?>" class="pt-link-btn">个人附件                                      </a></span>
    <span class="modular fr"><a href="/adminmember/xd_list/id/<?php echo $member['id']; ?>/name/<?php echo $member['name']; ?>" class="pt-link-btn">心动对象</a></span>
  
  </div>
  
  <table class="noborder">
   <tr>
    <td style="text-align:right;width:15%;">当前会员呢称：</td>
    <td><?php echo $member['name']; ?></td>
   </tr>
    <tr>
        <td style="text-align:right;width:15%;">电话号码：</td>
        <td><?php echo $member['phone']; ?></td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">居住地址：</td>
        <td><?php echo $memberinfo['address']; ?></td>
    </tr>
    <tr>
          <td style="text-align:right;width:15%;">年龄：</td>
          <td><?php echo $memberinfo['age']; ?></td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">身高：</td>
        <td><?php echo $memberinfo['shengao']; ?></td>
  </tr>
  <tr>
    <td style="text-align:right;width:15%;">收入：</td>
    <td><?php echo $memberinfo['income']; ?></td>
</tr>
<tr>
    <td style="text-align:right;width:15%;">学历：</td>
    <td><?php echo $memberinfo['education']; ?></td>
</tr>
    <tr>
        <td style="text-align:right;width:15%;">性别：</td>
        <td><?php if($member['sex']==0): ?>保密<?php elseif($member['sex']==1): ?>男<?php else: ?>女<?php endif; ?></td>
    </tr>
    <tr>
        <td style="text-align:right;">个人简介：</td>
        <td>
         <textarea class="textarea" style="height:100px;outline:none;"><?php echo $memberinfo['jianjie']; ?></textarea>
        </td>
       </tr>
    <tr>
        <td style="text-align:right;width:15%;">购买会员天数：</td>
        <td><?php echo $memberinfo['enddays']; ?></td>
    </tr>
    <tr>
        <td style="text-align:right;width:15%;">会员充值时间：</td>
        <td><?php echo date("Y-m-d H:i:s",$memberinfo['rechargetime']); ?></td>
    </tr>
    <tr>
          <td style="text-align:right;width:15%;">会员结束时间：</td>
          <td><?php echo date("Y-m-d H:i:s",$memberinfo['rechargeendtime']); ?></td>
    </tr>
    <tr><td>择偶标准：</td><td>————————————————————————</td></tr>
    <tr>
            <td style="text-align:right;width:15%;">年龄：</td>
            <td><?php echo $spo['age']; ?></td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">身高：</td>
            <td><?php echo $spo['heigth']; ?></td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">学历：</td>
            <td><?php echo $spo['education']; ?></td>
    </tr>
    <tr>
            <td style="text-align:right;width:15%;">收入：</td>
            <td><?php echo $spo['income']; ?></td>
    </tr>
   <tr>
      <td style="text-align:right;">审核：</td>
      <td>
       <select class="textBox" name="status">
        <option value="0" <?php if($member['status']==0): ?>selected<?php endif; ?>>未审核</option>
        <option value="1" <?php if($member['status']==1): ?>selected<?php endif; ?>>未通过审核</option>
        <option value="2" <?php if($member['status']==2): ?>selected<?php endif; ?>>通过审核</option>
       </select>
      </td>
  </tr>
   <tr>
    <td style="text-align:right;"></td>
    <td>
     <input type="submit" value="确认" class="tdBtn"/>
    </td>
   </tr>
  </table>
 </div>
</body>
</html>
<script>
  $(".tdBtn").click(function(){
    var status=$("option:selected").val();
    var shenhe=$("option:selected").html();
    var id = "<?php echo $member['id']; ?>";
    $.post("/adminmember/dostatus",{status:status,id:id},function(data){
      alert(data);
    })
  })
</script>